Socket
Book a DemoInstallSign in
Socket

is-any-array

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-any-array

Check if toString.call ends with Array

Source
npmnpm
Version
0.1.1
Version published
Maintainers
4
Created
Source

is-any-array

NPM version build status Test coverage David deps npm download

Check if toString.call ends with Array

Installation

$ npm install is-any-array

API Documentation

Example

const isAnyArray = require('is-any-array');

  isAnyArray(1); // false
  isAnyArray('ab'); // false
  isAnyArray({ a: 1 }); // false

  isAnyArray([1, 2, 3]); // true
  isAnyArray(new Uint16Array(2))) // true;

License

MIT

FAQs

Package last updated on 11 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts